package org.example.exception;

import org.example.dao.commom.ResultCode;

/**
 * @author 22449
 */
public class AuthException extends RuntimeException implements BaseException{

    private String msg;

    public AuthException(String msg){
        this.msg = msg;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    @Override
    public ResultCode getCode() {
        return ResultCode.AUTH_MATCH_ERROR;
    }
}
